Million-net Whois (the interface used to provide a legal interface to the WAN)
Copy the Code code as follows:
function Whois_hichina ($domain) {Preg_match ("|
(.+?)|is ", @file_get_contents (' http://whois.hichina.com/cgi-bin/whois?domain= ' $domain. '), $whois);
$whois [0] = str_replace (' Friendly tip: The expire
.internic.net ', 'org' => 'whois .pir.org ', 'Air' => 'whois .crsnic.net ', 'cn' => 'whois .cnnic.net.cn ', 'CC' => 'whois. nic. CC ',
Although this method is easy to implement, for domain names registered on the Godaddy.com platform or in Xiamen yiming.com in China, only o
or solicitations via direct mail, electronic mail, or by
Telephone; or (2) enable high volume, automated, electronic processes
That is apply to register.com (or its systems). The compilation,
repackaging, dissemination or other use of the This data is expressly
Prohibited without the prior written consent of Register.com.
Register.com reserves the right to modify this terms at no time.
By submitting this query, you agree to abide by these terms.
Registrant:
Beijing Baidu netcom Science and Tech
I recently read the. net Resource article and found the following two sentences: Thread. CurrentThread. CurrentUICulture = new CultureInfo ('zh-cn ');
Thread. CurrentThread. CurrentCulture = CultureInfo. CreateSpecificCulture ('zh-cn ');
I am not very familiar with it. After Baidu translation, the following results are obtained:
The two are basically the same. Even if the static CultureInfo. CreateSpecif
transmission of mass unsolicited, commercial
Advertising or solicitations via direct mail, electronic mail, or by
Telephone; or (2) enable high volume, automated, electronic processes
That is apply to register.com (or its systems). The compilation,
repackaging, dissemination or other use of the This data is expressly
Prohibited without the prior written consent of Register.com.
Register.com reserves the right to modify this terms at no time.
By submitting this query, you agree to abide by these
1, simplify the code. (in fact, the definition of a few variables is removed)
2, for the information retrieved from InterNIC is too simple, according to InterNIC feedback information in the WHOIS server for further inquiries. For example, Yahoo has more detailed information on the whois.networksolutions.com.
Class Whois {
var $use _cache = 1;
var $FROM _cache=0;
var $cache _dir = "./"; Set yourself accord
1, simplified the code. (It actually removes some of the variables that you don't need to define)
2, for the information retrieved from the InterNIC is too simple, according to InterNIC feedback in the information of WHOIS server for further inquiries. Yahoo, for example, has more detailed information on the whois.networksolutions.com.
Class Whois {
var $use _cache = 1;
var $FROM _cache=0;
var $cache _dir
Php queries whois information, and phpwhois information. Methods for querying whois information in php. phpwhois information in this document describes how to query whois information in php. Share it with you for your reference. The details are as follows: Here we use php to query the whois information through php, and
competing registrars.
Go to http://www.internic.net for detailed information.
Domain Name:BAIDU.COM Registrar:markmonitor Inc. Sponsoring Registrar IANA id:292 Whois Server:whois.markmonitor.com Referral url:http://www.markmonitor.com Na Me Server:dns. Baidu.com Name Server:ns2. Baidu.com Name server:ns3. Baidu.com Name server:ns4. Baidu.com Name Server:ns7. Baidu.com status:clientdeleteprohibited https://icann.org/epp#clientDeleteProhibited S
NL whois.domain-registry.nlEU whois.euEdu whois.educause.netNET Whois.crsnic.netCOM whois.crsnic.netORG whois.crsnic.netInfo whois.afilias.comDe whois.denic.deCN whois.cnnic.net.cnThese are the WHOIS servers I've collected.
For example, you want to query the domain name is www.111cn.net it belongs to the. NET suffix, this time you will go to whois.crnic.net this side to query.
Next we look at the specific implementation code.
Using System;Us
using python for whois queries
installing whois with the PIP command
Pip Install Python-whois
Python 2.7.6 (default, OCT 2016, 20:30:19)
[GCC 4.8.4] on linux2
Type ' help ', ' copyright ', ' credits ' or ' Licens E "For more information.
" >>> import whois
>>>
How to use the installation successfully
[GCC 4.8.4] on
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.